'''
用户类:记录用户信息

'''
class User():
    __slots__ = ('uid', 'uname', 'pwd', 'shopcar', 'islogin')
    def __init__(self, uid, uname, pwd, shopcar, ):
        self.uid = uid
        self.uname = uname
        self.pwd = pwd
        self.shopcar = shopcar
        self.islogin = False
    def __str__(self):
        return f'[User]: {self.uid} {self.uname}  {self.islogin}'
    __repr__ = __str__